home *** CD-ROM | disk | FTP | other *** search
/ Aminet 35 / Aminet 35 (2000)(Schatztruhe)[!][Feb 2000].iso / Aminet / dev / c / measureconwos.readme < prev    next >
Encoding:
Text File  |  2000-01-02  |  2.2 KB  |  59 lines

  1. Short:    Example for measuring WOS context-switch
  2. Author:   racs@fs2.bdtf.hu (Almos Rajnai)
  3. Uploader: racs@fs2.bdtf.hu (Almos Rajnai)
  4. Type:     dev/c
  5. Requires: VBCC, WarpOS, PowerPC card 
  6.  
  7. ---------------------------------------------------------------------
  8.  
  9.  This is an example for measuring the ellapsed time at the context-switch of
  10. WarpOS. Both sources and executable included in this archive.
  11.  Please do not take too serious this code, may contains lot of bugs, I can
  12. create mistakes even in a simple printf...
  13.  
  14.  Using:
  15.  ------
  16.  Simply start measurecontextwos executable, then enter the number of the
  17. context-switch cycles. The measuring may take a long time (several minutes),
  18. but I see no reason of trying more than 10000 cycles. (It took about 7.5 sec
  19. on my BPPC603e-175/040-25.) After starting the process can not be stopped
  20. until it finished. (Because of more precise calculations.)
  21.  
  22.  Rebuild:
  23.  --------
  24.  You will need VBCC package for PowerPC, if you want to rebuild the project.
  25. Makefile is included for AmigaE's build, it should work with other make-tools
  26. too.
  27.  
  28.  Disclaimer:
  29.  -----------
  30.  This example is provided "as-is", no warranties are made.
  31. All use is at your own risk. No liability or responsibility is assumed.
  32.  
  33.  The source and executable code of these examples may only be distributed in
  34. free electronic form, via bulletin board or as part of a fully non-commercial
  35. and freely redistributable diskette. Both the source and executable code
  36. (including comments) must be included, without modification, in any copy.
  37.  
  38.  Author:
  39.  -------
  40. Álmos Rajnai
  41. (Rachy of BiøHazard)
  42. racs@fs2.bdtf.hu
  43.  
  44. Comments are welcome!
  45.  
  46.  
  47. ============================= Archive contents =============================
  48.  
  49. Original  Packed Ratio    Date     Time    Name
  50. -------- ------- ----- --------- --------  -------------
  51.    11836    6552 44.6% 21-Nov-99 23:33:16 +measurecontextwos
  52.     1632     859 47.3% 21-Nov-99 23:29:48 +measureconwos.readme
  53.      613     302 50.7% 21-Nov-99 23:28:00 +.build
  54.     2613    1119 57.1% 21-Nov-99 23:28:18 +measurecontextwos.c
  55.      508     347 31.6% 21-Nov-99 23:28:14 +measurecontextwos68k.asm
  56.      328     230 29.8% 21-Nov-99 23:28:12 +measurecontextwosppc.pasm
  57. -------- ------- ----- --------- --------
  58.    17530    9409 46.3% 22-Nov-99 22:34:06   6 files
  59.